package com.hu.zhcc.shiro.dao;


import com.hu.zhcc.shiro.entity.Reponsitory.RDietary;

import java.util.List;

public interface RDietaryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RDietary record);

    int insertSelective(RDietary record);

    RDietary selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RDietary record);

    int updateByPrimaryKey(RDietary record);

    List<RDietary> selectTaryAll(RDietary dietary);

    RDietary taryBeforeUpdateById(int id);
    //查询所有的食品名称
    List<RDietary> findDietaryListNameAll();
}